<?php
namespace Home\Widget;
use Think\Controller;


class CompetitionWidget extends Controller {
	public function Index($data){
		if($data==1){
			$this->display('Competition:contest');
		}
		else if($data==2){
			$this->display('Competition:which_contest');
		}
	}
}
?>